<template>
  <div id="app">
    <div id="nav">
      <Nav></Nav>
      <div class="rightCon">
        <router-view/>
      </div>
    </div>
  </div>
</template>

<script>
import Nav from './components/Nav.vue'
export default {
  components:{
    Nav
  }
}
</script>

<style lang="less">
html,body{
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
}
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: #2c3e50;
  height: 100%;
}

#nav {
  height: 100%;
  overflow: hidden;

  .rightCon{
      margin-left: 180px;
      height: 100%;
      background: palevioletred;
    }

  a {
    color: #2c3e50;

    &.router-link-exact-active {
      color: #42b983;
    }
  }
}
</style>
